<template>
  <div class="home-banner">
    <!-- 轮播图 -->
  </div>
</template>
<script>
import { findBanner } from "@/api/home";
export default {
  name: "HomeBanner",
  async created() {
    const data = await findBanner();
    console.log(data);
  },
};
</script>
<style scoped lang="less">
.home-banner {
  width: 1240px;
  height: 500px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 98;
  background-color: pink;
}
</style>
